import { NavLink, Outlet } from "react-router-dom";
const DemoHooks =()=>{
    return (<>
        <h3>14.Hooks</h3>
        <nav>
            <NavLink to='/DemoHooks/UseEffect'>
            useEffect
            </NavLink>
            <NavLink to='/DemoHooks/DemoState'>DemoState</NavLink>
            {/* <NavLink to=''></NavLink> */}
        </nav>
        <div>
            <Outlet />
        </div>
    </>)
}
export default DemoHooks;